﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Collections;

namespace Utils.Entity
{
    public class CartEntity
    {
        private int userID;

        public int UserID
        {
            get { return userID; }
            set { userID = value; }
        }
        private String ip;

        public String Ip
        {
            get { return ip; }
            set { ip = value; }
        }
        private String customerAddress;

        public String CustomerAddress
        {
            get { return customerAddress; }
            set { customerAddress = value; }
        }
        private String customerEmail;

        public String CustomerEmail
        {
            get { return customerEmail; }
            set { customerEmail = value; }
        }
        private String customerTelePhone;

        public String CustomerTelePhone
        {
            get { return customerTelePhone; }
            set { customerTelePhone = value; }
        }
        private String customerMobilePhone;

        public String CustomerMobilePhone
        {
            get { return customerMobilePhone; }
            set { customerMobilePhone = value; }
        }
        private String toAddress;

        public String ToAddress
        {
            get { return toAddress; }
            set { toAddress = value; }
        }
        private String toEmail;

        public String ToEmail
        {
            get { return toEmail; }
            set { toEmail = value; }
        }
        private String toTelePhone;

        public String ToTelePhone
        {
            get { return toTelePhone; }
            set { toTelePhone = value; }
        }
        private String toMobilePhone;

        public String ToMobilePhone
        {
            get { return toMobilePhone; }
            set { toMobilePhone = value; }
        }
        private byte status;

        public byte Status
        {
            get { return status; }
            set { status = value; }
        }
        private DateTime boughtDate;

        public DateTime BoughtDate
        {
            get { return boughtDate; }
            set { boughtDate = value; }
        }
        private DateTime sentDate;

        public DateTime SentDate
        {
            get { return sentDate; }
            set { sentDate = value; }
        }
        private String description;

        public String Description
        {
            get { return description; }
            set { description = value; }
        }
        private String transportMethod;

        public String TransportMethod
        {
            get { return transportMethod; }
            set { transportMethod = value; }
        }
        private String paymentMethod;

        public String PaymentMethod
        {
            get { return paymentMethod; }
            set { paymentMethod = value; }
        }
        private String customerStatus;

        public String CustomerStatus
        {
            get { return customerStatus; }
            set { customerStatus = value; }
        }

        public ArrayList CartProductList = new ArrayList();
    }

    public class CartProduct
    {

        private int productID;

        public int ProductID
        {
            get { return productID; }
            set { productID = value; }
        }
        private int quantity;

        public int Quantity
        {
            get { return quantity; }
            set { quantity = value; }
        }
        private decimal sellPrice;

        public decimal SellPrice
        {
            get { return sellPrice; }
            set { sellPrice = value; }
        }
    }

}
